import Vue from 'vue'
import Router from 'vue-router'
import list from '@/components/list'
import login from '@/components/login'
Vue.use(Router)

// eslint-disable-next-line no-unused-vars
let router;
// eslint-disable-next-line no-unused-vars
export default router = new Router({
    routes: [
        {
            path: '/list',
            name: 'list',
            component: list
        },
        {
            path: '/',
            name: 'login',
            component: login
        },
    ]
})